package com.chujian.system.core.controller;


import com.chujian.framework.core.base.BaseController;
import com.chujian.framework.core.base.BaseService;
import com.chujian.core.entity.CoreProd;
import com.chujian.system.core.service.CoreProdService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * 产品表控制层
 *
 * @author chujian
 * @since  2021-07-27
 */
@RequestMapping("/coreProd")
@RestController
@Slf4j
public class CoreProdController extends BaseController<CoreProd> {

    @Resource
    private CoreProdService baseService;

    @Override
    public BaseService<CoreProd> getBaseService() {
        return baseService;
    }

}
